package com.settlement.system.listener.easyexcel;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import com.settlement.system.model.vo.SysEmailImportVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
* <p>
* 邮箱表
* </p>
*
* @author huangrensen
* @since 2024-07-17
*/
@Schema
@Data
public class SysEmailListener extends AnalysisEventListener<SysEmailImportVo> {

    private List<SysEmailImportVo> vos = new ArrayList<>();

    @Override
    public void invoke(SysEmailImportVo importVo, AnalysisContext analysisContext) {
        vos.add(importVo);
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {

    }
}